what is mortgage affordability calculation.