Updated Bernstein Code

To explore other bases than the binomial I added a probability mass
function argument. A new example plot showing uniform convergence was
also added.