System.*: Added functions kinetic / potential func

Added functions for calculating total kinetic and potential energy for
a particle.