removed factorial calculation in PoissonGradient