IIR Filtering improvements

Update to support long IIR buffer and fraction saving
Extract IIR into header file