Initial MATLAB code with organizing files