Autoconfiguring Artificial Neural Network Applied to Fault Diagnosis in Power System