Fixed a bug comupting Z for sampling, was causing it to converge slower