wavelet works, just need to test the border (currently there is a padded zero-border