Added MATLAB script