A microprocessor system for multifunctional control of upper-limb prostheses via myoelectric signal identification