Optimization in MATLAB for Financial Applications