EMG Signal Processing for Hand Motion Pattern Recognition Using Machine Algorithms