Collection of Matlab functions to evaluate errors from autocorrelation and in the extraction of parameters from fit