[bugfix] getRMatrix was rotating by min(theta, 180-theta). Should not affect any results given rotations it was used for were always less than 90.