Added remaining finite field functionality from flint.