Fixed bug in logZ formulation that lead to abnormally high logZ values.