to.period.contributions function

Aggregate contributions through time