route_slope_vector function

Calculate the gradient of line segments from distance and elevation vectors