removed multithreading in CalculateCorrelation