NEW : matlab linesearch algoritm added
ADD linesearch algorithm inside

- by implementing the linesearch algorithm directly in the function, we can count the number fof function and gradient computation.
tests on g_nrom + TODO info

- TODO comments
- modification on g_norm (was squaredNorm)