Started gibbs sampling for pr(Z|Yi)