Automatic segmentation of loaded trajectories matches segmentation produced by Matlab implementation.