Added Gibbs sampler