fix repaymentschedule
Merge pull request #345 from SingularityGuy/fixing-errors

fix repaymentschedule