updated matlab_tools