Corrected a bug in printf functions and added pow function in nmod_mat