fixed firstPaymentDate bug in amortization table generator
added test