prewhiten function

Prewhiten a Bivariate Time Series, and Compute and Plot Their Sample Cross-Correlation Function