Made edits to speed up MATLAB script