A Neural Modeling Approach for the Diagnosis of Elementary Failure Modes in Industrial Plants