updated matlab_euler to comply with new som spec