Calculates and appends the average grade to the route stats. Best used for calculating average grade on a segment.