n. 1.changing a square matrix to diagonal form (with all non-zero elements on the principal diagonal)