An improved genetic algorithm for designing optimal temporal patterns of neural stimulation. (10th November 2017)