Variable names updated in improved_fast_endgame_solver.c to add more clarity.