small change in get_gravity_at_point