1d Gauss example -- returns log(Z)=-0.32, instead of 0?