Added .gitignore
fixed MATLAB version problem while using fileparts