I've written through approxWavelet for the 1D case.