Implement Path of Least Time bug fix to the Trajectory program.