Neural state estimators for direct model-based fault diagnosis