MATLAB particle tracking