switched some of inferencers to Kahan algorithm