Dirichlet process mixture model code in Matlab. Sampling and variational.