Updated line search

isBarzilaiBorwein = false, by default