adding some pywt codes