Add 1D example for poisson distribution