code: protected synchronized void setBrownianMotion(BrownianMotion brownianMotion) {
  		if(discreteProcessWeights != null && discreteProcessWeights.length != 0) {
  			throw new RuntimeException("Tying to change lazy initialized immutable object after initialization.");
  		}
  
  		this.brownianMotion			= brownianMotion;
  	}
docs: A derived class may change the Brownian motion. This is only allowed prior to lazy initialization.
  The method should be used only while constructing new object. Do not use in flight.
  
  @param brownianMotion The brownianMotion to set.