Made model.wavelet.decomposition more robust

Added tests