Feature/update bugs examples: vectorization, use bernoulli/binomila_logit