more work towards rao teh gibbs sampling