Calculate monthly payments, interest, and total repayment for fixed-rate or declining-balance mortgages.