remove unused poisson sample function