added Poisson-Bernoulli mode
Merge pull request #8 from mephistopheies/dev

added Poisson-Bernoulli mode