auto_rate_interval function

Obtain rate values at non-overlapping intervals of a dataset