Emmanuelle asked earlier about the gradient function, and I have the same concern: is central difference good enough?