Returns the cumulative interest paid between two periods