nanshe/wavelet_transform.py: Improved wavelet transform by taking advantage of in place convolution.