Updates and corrections to the adjoint TNE2 solver
Corrected an error in the restart procedure for the TNE2 solver.