Impl-Correlate: Add the thread parameter for parallel similarity computation.