Gradient calculation support.
Support for calculating the gradient using either the adjoint or adjoint
stiffness method for either the MOLS or OLS functionals.