N-dimentional trajectory analysis tools built on MATLAB