removed phifast and sterling approx factorial