moved nmod definition so it is seen from fmpz_mat.pyx