added getTotalKineticEnergy() & getTotalPotentialEnergy().