Calculating Total Amount Paid and Finance Charge