Calculate how much a home will cost in total, including the interest to be paid. It's significantly more with a larger mortgage, shows study.