Analytical Techniques for the Optimisation of Rocket Trajectories