rotx(), roty() and rotz() return 3 by 3 rotation matrices for an
active, right-handed rotation by theta radians about the x, y and z
axes. rot2() returns the 2 by 2 planar rotation.
rotx(), roty() and rotz() return 3 by 3 rotation matrices for an
active, right-handed rotation by theta radians about the x, y and z
axes. rot2() returns the 2 by 2 planar rotation.