crossCorrelation and createPreambleSamples
cleaned