Matlab code used for MOT task and analysis