A PID control engine for .NET, the way it should be written.