Application of Wavelet Analysis in EMG Feature Extraction for Pattern Classification