minor correction around MULADD_3arg()
optimize det_mod_pk_SE_1st_row() and nmod_invert_2x2()