Minor changes to matlab-files