numerically more stable integration sheme for gravity
commented out a duplicate operation