updating some matlab scripts that format python objects