code: public RandomVariable getProcessValue(double time, int component) {
  		double timeLower = timeDiscretization.getTimeIndexNearestLessOrEqual(time);
  		double timeUpper = timeDiscretization.getTimeIndexNearestGreaterOrEqual(time);
  		if(timeLower == timeUpper) {
  			return realizations.get(timeLower);
  		}
  
  		RandomVariable valueLower	= realizations.get(timeLower);
  		RandomVariable valueUpper	= realizations.get(timeUpper);
  
  		return valueUpper.mult((time-timeLower)/(timeUpper-timeLower)).add(valueLower.mult((timeUpper-time)/(timeUpper-timeLower)));
  	}
docs: Returns the (possibly interpolated) value of this stochastic process at a given time \( t \).
  
  @param time The time \( t \).
  @param component The component to be returned (if this is a vector valued process), otherwise 0.
  @return The random variable \( X(t) \).