difference between rows and columns in matrix