Ambiguity in solution solved. The trajectory now calculates correctly.