nmod_mat constructor and export working