Added progress bar to correlation calculations