Added Gravitational constant and function