Closed-Loop Control Of Epidural Electrical Stimulation To Optimise Spinal Neuroprosthetic Systems