Create prewhiten.R