Reduced the example matrix. Found the bug in reduction algorithm.