Fixed errors in the calculation

Added interest to the last month payment for each debt, pre TA's
recommendation
Deleted duplicate variable declaration