Add some classic distributions

Add the bernoulli and binomial distributions, as well as a few math operations.