changes to matlab files