minor changes to matlab templates