Calculating gradient (slope) of a curved line