I think this fixed the high log Z value discussed in bug #38, which appears to be cause by an extra minus sign floating around.