port gamma function power series methods