Calculates the gradient at the point on the given curve at the given location
a decimal between 0 and 1 inclusive.
Calculates the gradient at the point on the given curve at the given location