Returns the cumulative principal paid on a loan between two periods