Clean up filter_design.jl for Polynomials

Also remove some temporary allocations, although it was unlikely filter design would be a performance bottleneck.