renamed ``gf_monomials_mod`` and ``_gf_pow_p_mod``;
fixed a bug; added doctests and a test.