Library for managing loan payments.
Each payment has a principal amount that is due at the end of the maturity
period and defaults after the grace period.
An interest rate is applied linearly to the principal amount over time until
the payment is due. A premium rate is added to the rate thereafter.