Updated attitude calculations and storage