make_matrix_solveable works up to 16x16, takes far less time when number of rows is small