Calculates mortgage payments