prints transpose of a matrix