NaN returned by gauss()