sPuReMD: separate total energy computation and fix Python driver bug with structure definition for ctypes. Allow disabling file logging during simulation.