Failure Diagnosis and Prognosis of Safety Critical Systems: Applications in Aerospace Industries