make_matrix_solveable algorithm locks up when called on matrices 10x20 and up