started working on reducing roundoff in updated energies. Might have unearthed a bug.