code: public static double[][] initializeUniformlyInTwoDimensions(double epsilon, int numberOfWeights) {
  		double[][] weights = new double[numberOfWeights][2];
  		
  		int indexOfWeight;
  		double w, jump;
  		
  		jump = (1 - (2 * epsilon)) / (numberOfWeights - 1);
  		indexOfWeight = 0;
  		
  		w = epsilon;
  		
  		//while(w <= (1-epsilon))
  		while (indexOfWeight < numberOfWeights) {
  			weights[indexOfWeight][0] = w;
  			weights[indexOfWeight][1] = 1 - w;
  			
  			w = w + jump;
  			
  			indexOfWeight = indexOfWeight + 1;
  		}
  		
  		return weights;
  	}
docs: Generate uniform weight vectors in two dimension
  
  @param epsilon         Distance between each component of the weight vector
  @param numberOfWeights Number of weight vectors to generate
  @return A set of weight vectors