R was the nomenclature for the rotation vector in the previous example
hence the change to M for rotation matrix.