Added a poisson function. Cant quite get it working...