Added integral reset for rate controller