Complex gradient and Hessian | Synapse