an IIR filter implementation to be used as a system dynamics simulator