Adding fkmeans and dirichlet