Fixes a bug of fitErr in fitCesaro.py