Matlab Codes for various Optimization Methods