Compute the matrix for a
3-1-3rotation. See Curtis (9.118).
Create a rotation matrix in two dimensions. Passive rotation if passive is true, otherwise active.
Create a rotation matrix about the (0,
1, 2) axis in three dimensions. Passive rotation if passive is true, otherwise active.
Rotation about an arbitrary axis in
3d. See Goldstein, Poole, Safko (4.62) or http://mathworld.wolfram.com/RotationFormula.html.