Closed Loop Control Of Muscle Contraction Using Functional Electrical Stimulation