Test if argument is a rotation matrix
isrot(R) isrot(R, "valid")
ISROT(R) is true (1) if the argument is of dimension 3x3 or 3x3xN, else false (0).
ISROT(R, "valid") as above, but also checks the validity of the rotation matrix.
A valid rotation matrix has determinant of 1.