changed datedFunded to closingDate to more closely track reality
fixed some errors in cumulativeInterestPaid function