Function xCrossCorrelation