Model-Based Optimization Approach for PID Control of Pitch-Roll UAV Orientation