How do I find the determinant of a matrix using row echelon form?