mongrad function

Evaluate the gradient of a monotone function