Gibbs sampling for mixutre model