grim_matlab_testing