Performance optimization study of a Common Aero Vehicle using a Legendre Pseudospectral Method