matrix print