added implementations for inelastic electron scattering for xmolecule