Added my MATLAB scripts from CooledTip