Finished getDurationInfo.m for path features