righting arm gz formula