Make Wavelet#forward and #reverse simpler.