Added MATLAB scrpit for real-time plotting of optimization log.