Statistics for Wavelet-automated recognition system for power quality monitoring