fixed syntax in gibbs sample