Fault Detection and Emergency Path Planning for Fixed Wing UAVs