LDA and Gibbs sampling principle