Makes err becomes nan if numMD == 1 for fitNDCesaro.py and fitSdDCesaro.py