some wavelet code in place, but it's way wrong
fixed wavelet kernels