getWavelet function

Get wavelet coefficients, filtered according to filter