Large Scale Nonlinear Programming For The Optimization Of Spacecraft Trajectories