Remove class safefid
Remove class globals
Merge branch 'master' of https://github.com/germangh/matlab_misc