EMG-based Hand Gesture Recognition With Flexible Analog Front End