Minor change to the PI controller to make the Integral limit reflect the integral state better
Some more explanation in pid.c
Changed to correct limits on the attitude controller