def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def __get_stop_condition(self):
        for covariance in self.__variances:
            if numpy.linalg.norm(covariance) == 0.0:
                return True