private boolean moveObservations() {
        boolean movedElements = false;
        for (int i = 0; i < data.size(); i++) {
            double[] observation = data.get(i);
            double distance = 0.0;
            if(option.equals(ConfigFile.dataPointOption)) {
            	distance = euclideanDistance(observation, clusterMeans[resultingSet[i]]);
            }
            
            if(option.equals(ConfigFile.dataPointOption)) {
            	for(int j = 0; j < clusterMeans.length; j++) {
            		double length = 0.0;
            		length = euclideanDistance(observation, clusterMeans[j]);
            		if (length < distance) {
                        distance = length;
                        if (resultingSet[i] != j) {
                            movedElements = true;
                            resultingSet[i] = j;
                        }
                    }
            	}
            }         
        }
        return movedElements;
	}