Adds threshold-based correlation calculator.