Added molecular gradients to the mix.
Adds support for correlated energies.