Switch gravityint to rely on internal constants

Not pretty, but necessary