Find the rank of the matrix .