Optimization of ion trajectories in a dynamically harmonized Fourier-Transform Ion Cyclotron Resonance cell using a Design of Experiments strategy.