A particle tracking libary written in MATLAB