Add MT and HZ linesearch algorithms

Revise code to use consistent structure and names across algorithms