Before overwriting scaleWavelet1D