Modified analysis tool.
Corrected variance calculation and autocorrelation coefficient calculation.