improved plotting functions in matlab script
Merge pull request #7 from ragarcia/master

improved plotting functions in matlab script