Adaptive Control of Joint Movement Induced by Electrical Stimulation