Update getESFromChiSquared.R