fixed filtering functions again, filter coefficients were inverted