Matrix: re-using test_matrix_by_row
Matrix: re-using test_matrix_by_row
Matrix: re-using test_matrix_by_row
Matrix: fix
Matrix: lazy and non-lazy versions