Complete Gibbs sampling part 2