https://onlinebme.com/wavelet-transform/