A discrete transfer function implementation in portable C.