How Is Gravitational Potential Energy Calculated