added function bern2binom.
updated comments in link function generator.