fixed bug in poisson model that was inserting NaN at the delta creation step