Implementation of the objetcive function and derivatives.
Implementation of program (very simple).
Implementation of optimization methods and main procedures.