Numerical Optimization routines based on Matlab and Octave