added dirichlet distribution; suffering from bugs atm