private int findClosest(PointWritable value){
		int argmax = 0;
		double minimalDistance = 0.0;
		for(int i = 0; i<means.size(); i++){
			PointWritable pwc = means.get(i);
			double distance = value.cosineNorm(pwc);
			if(distance > minimalDistance){
				minimalDistance = distance;
				argmax = i;
			}
		}
		return argmax;
	}