How is a mortgage payment calculated? We explain the annuity formula, interest rate, term and total repayment with examples.