Text this: Iterative Learning Control for Electrical Stimulation and Stroke Rehabilitation