wavelet_filter_v2 - no memory errors, but doesn't filter.

wavelet_filter_v2 works in functional simulator, has correct size, but doesn't filter correctly.
commented out the array function thats meant to be used for wavelet_filter_restrict_manuell