This module reads in the attitude reference R and applies a fixed rotation
to give a corrected reference C. This can be used to modify the reference directly,
or to allow a general body-fixed frame Bc to align with the reference R. In the
latter case, assume a body frame B, and a corrected body frame Bc which we want to
align with frame R. To do this, frame B is aligned with a corrected reference frame
C. This module produces the corrected reference frame C such that when B aligns
with C, Bc aligns with R.
This method is called whenever some key parameters are changedand any new local variables are required to be recalculated. Thiscan be called by the software chains if a configuration of somevalues are updated.