Self-correcting pattern recognition system of surface EMG signals for upper limb prosthesis control