Calculation of Atomic and Molecular Momentum Expectation Values and Total Energies from Compton-Scattering Data