code: public double getTimeLeftEstimate(Coordinate positionNow) {
  		int minIndex = 0;
  		double minDist = Double.MAX_VALUE;
  		for (int i = 0; i < this.getPositions().length; i++) {
  			if (this.getPositions()[i].distance(positionNow) < minDist) {
  				minDist = this.getPositions()[i].distance(positionNow);
  				minIndex = i;
  			}
  		}
  		return getTimeLeftEstimate(minIndex);
  	}
docs: Get an estimate of the time left to move on this {@link Trajectory}
  given the current position. The estimate is based on this {@link Trajectory}'s
  temporal profile.
  @param positionNow The position from which the estimate should be computed.
  @return An estimate of the time left to move on this {@link Trajectory}
  given the current position.