Cross-correlator