             let A = randomSingularM55()
             let E = MatrixElimination(A, mode: .ColsOnly)
             XCTAssertEqual(E.left, M55.identity)
-            XCTAssertEqual(E.result, A * E.right)
-            XCTAssertEqual(A, E.result * E.rightInverse)
+            XCTAssertEqual(E.rankNormalForm, A * E.right)
+            XCTAssertEqual(A, E.rankNormalForm * E.rightInverse)
         }
     }
     

            let A = randomM55()
            let E = MatrixElimination(A, mode: .ColsOnly)
            XCTAssertEqual(E.left, M55.identity)
            XCTAssertEqual(E.result, A * E.right)
            XCTAssertEqual(A, E.result * E.rightInverse)
        }
    }
    

            let A = randomSingularM55()
            let E = MatrixElimination(A, mode: .RowsOnly)
            XCTAssertEqual(E.right, M55.identity)
            XCTAssertEqual(E.rankNormalForm, E.left * A)
            XCTAssertEqual(A, E.leftInverse * E.rankNormalForm)
        }
    }
    
