Added ability to read from an external file containing a rotation matrix