Processing EMG signals through an artificial neural network