Design of a Functional Electrical Stimulation Device