Clean up filter_design.jl for Polynomial

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