public double[][] getDistValues(int category) {
		double[][] distValues = new double[lexiconCategory[category].size()][];
		int count=0;
		double min = Double.MAX_VALUE;
		double miu = 0D;
		for(Word w : lexiconCategory[category]) {
			distValues[count]=calcDistValue(w,category);
			if(min>distValues[count][0])
				min=distValues[count][0];
			if(min>distValues[count][1])
				min=distValues[count][1];
			miu+=(distValues[count][0]+distValues[count][1]);
			count++;
		}
		
		miu/=(lexiconCategory[category].size()*2);
		for(int i=0; i<lexiconCategory[category].size();i++) {
			//modified-sigmoid ( 1/(1-e^(-x)) -0.5) *2 , for x in (0,+inf) -> y in (0.5,1)
//			distValues[i][0]=((1.0D / (1.0D + Math.pow(Math.E, -(distValues[i][0]-min))))-0.5D)*2;
//			distValues[i][1]=((1.0D / (1.0D + Math.pow(Math.E, -(distValues[i][1]-min))))-0.5D)*2;
			
			//modified-sigmoid 1/(1-e^(-(x-miu))) , miu for average of x
			distValues[i][0]=1.0D / (1.0D + Math.pow(Math.E, -(distValues[i][0]-miu)));
			distValues[i][1]=1.0D / (1.0D + Math.pow(Math.E, -(distValues[i][1]-miu)));
			
			
			//for test only
			if(cs.p.currentCycle==100) {
				System.out.println(lexiconCategory[category].get(i).getGroup().getID()+" : "+distValues[i][0]+" "+distValues[i][1]);
			}
			//end for test only
		
		}
		
		return distValues;
	}