This will copy over the gradient and Hessian recovery functions from Animate's `recovery` module.
This will copy over the gradient and Hessian recovery functions from Animate's
recoverymodule.