Pretty printing of a matrix.