Calculation of Total Amount Paid Back