bernoulli.c: fix typos in comments