Correcting the tuning parameters (PID gains)