register nmod_mat_init_3arg()
patch subroutine nmod_mat_print_pretty()