diff maps as function
more cleanups
matlab readme
more descriptive script names