docs: public RandomVariable expand(int numberOfPaths) {
  		if(isDeterministic()) {
  			// Expand random variable to a vector of path values
  			double[] clone = new double[numberOfPaths];
  			Arrays.fill(clone,valueIfNonStochastic);
  			return new RandomVariableFromDoubleArray(time,clone);
  
  		}
  
  		return new RandomVariableFromDoubleArray(time,getRealizations());
  	}