Added gibbs sampler for scalar Y values