A Hierarchical Approach To Automated Identification Of Anomalous Electrical Waveforms