Optimizing nerve cuff stimulation of targeted regions through use of genetic algorithms