Changed the fromRotMat algorithm to use the Shoemaker approach.