Optimization methods for magnetic resonance imaging gradient waveform design. (27th April 2020)