Very basic gravity calculator