* bernoulli(): Add Markus Nullmeier's new implementation.