def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def notify(self, means, covariances, clusters):
        """!
        @brief This method is used by the algorithm to notify observer about changes where the algorithm
                should provide new values: means, covariances and allocated clusters.