aggregate_for_mims function

Aggregate over epoch to get numerically integrated values.