Add support for forces defined by potentials, now automatically report PE as well as KE, and fix a bug in the reporting of cartesian velocity