Wavelets
First 1D wavelet compressor. Note: required change to ArrayHandlePermutation to work with new ArrayHandleConcatenate that may not be optimal; suggestions welcome. Update: Changes to ArrayHandlePermutation reverted, and the code still runs well. No change to ArrayHandlePermutation required now.