If Carnegie Mellon is definitely affordable with the scholarship, then I think you should go there, because it seems like having a highly intellectual environment is important to you. However, affordability is one of the most important factors in selecting a college, and if Carnegie Mellon is going to leave you in a lot of debt, then UMD would be the better option.