minor changes and syntax errors removed
Merge branch 'master' of https://github.com/mvkmth/Matlabcode