Potential and Kinetic Energies are calculated seperately
(in the c Part of the program)