Working on getting filter f(x) to work