added qudratic filter implementation