Text this: EMG motion pattern classification through design and optimization of neural network