getFourier function

Get Fourier coefficients, filtered according to filter