add matrix print function