automated particle tracking in MATLAB