Add sympy formulation of the filter