added MATLAB scripts