add HDP model with gibbs sampling