Nullity of a matrix