Had an error where lack of a next would cause the nonhomogeneous poisson to fail.