Trajectory Optimization for a Multi-Stage Launch Vehicle Using Time Finite Element and Direct Collocation Methods