Modified Arducopter Firmware using sliding mode control