Added limits to PID controller