Isn't this probably because any invertible matrix won't have a column of zeros in it? Sending back row, col is a good solution, I think.