Code for my attempts to learn wavelets