A direct solution to the J2 perturbed Lambert's problem