An orthogonal matrix is any matrix that preserves magnitude of vectors multiplied by it. That is, a matrix is an orthogonal matrix iff