A matlab implementation of ConTrack