hessian_from_formula function

Automatic differentiation of formulae