Updated bernoulli to latest version.