Reworked the trig for the gravity component calculations.