intervalGRaverage function

Calculates the growth rates for a specified time interval by taking weighted averages of growth rates for times within the interval