computed diff coefficients