A node module to calculate the interest and principal paid on a loan.