[Incomplete] Filtering refactor, add IIR

Implement IIR filtering here