Rename covar to curvature.

The curvature matrix, which is equal to one-half time the Hessian matrix, is evaluated and not the covariance matrix. To make this clean, all covar terms have been renamed to curvature.
Add optimizer function Python interface.
Correctly implement invert() method.
Define nested likelihood class.