Tools for manipulating 3d vectors and 3x3 matrices.