Internal Function
This and other similar internal functions calculate numerical derivatives.
Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk