Added test to recreate a bug in the climb segment causing the aircraft to climb indefinitely when it gets just a little higher than MAXIMUM_FLIGHT_LEVEL when trying to reach OPTIMAL_FLIGHT_LEVEL and implemented the fix (lowered tolerance of root_scalar function looking for the moment at which target is reached).
Added test to recreate a bug in the climb segment causing the aircraft to climb indefinitely when it gets just a little higher than MAXIMUM_FLIGHT_LEVEL when trying to reach OPTIMAL_FLIGHT_LEVEL and implemented the fix (lowered tolerance of root_scalar function looking for the moment at which target is reached).