code: @Override
  	public Trajectory subList(int fromIndex, int toIndex) {
  		Trajectory t = new Trajectory(dimension);
  		
  		for(int i = fromIndex; i < toIndex; i++){
  			t.add(this.get(i));
  		}
  		return t;
  	}
docs: Generates a sub-trajectory