Fix up path of least time for more general case than just 180
angleWRTGravity going to 0