Changed warning in fit_correlator function
Fixed a bad variable reference in fold_correlators