Added const to bernoullistanmodel and bernoullidata
Missed 1 bernoulli as a name (can't be const).