S is calculated by the following formula: S=Σ(YExpt−YSim)2N−K(14) where Yexpt is the experimental value, YSim is the corresponding fit value from simulation, K = number of parameters used in the fit equation (also known as the degrees of freedom), N is the number of data points.