Calculates mortgage repayments