Completed implementation of Wavelet class