GrowthRates function

Calculates growth rates (AGR, PGR, RGRdiff) between pairs of values in a vector