implemented lammps_energies; tidied up testing scripts