A learning intelligent system for classification and characterization of localized faults in Smart Grids