Fixed bug in poisson sampler.