Clustering analysis and pattern discrimination of EMG linear envelopes