Make the matrix print function public