Cleaned up updateGravity - consolidated the interbody gravity check