print the size of matrix