Add all MATLAB code