Kahan summation