Kwak, Zhang and Vasconcelos algorithms with a new main function to compare the results.
Optim