Numerically approximate the gradient of an instance of one of the light curve fitters.
TODO – potentially merge this with the code in lcprimitives