implementing PID.capOutput