Switch gravityint to rely on internal constants

Not pretty, but necessary
Merge pull request #151 from hzsweers/master

Switch gravityint to rely on internal constants