Fix existing calls to map.rotate()
Convert input rotation matrix to an array