Added G. Added getKintecEnergy and getPotentialEnergy methods.