def euclid_centroid_factory(data):
    """Return the geometric center of a list of list of numbers"""
    dim = len(data[0])
    n = len(data)
    sums = [sum((data[j][i] for j in range(n))) for i in range(dim)]
    return [float(s) / n for s in sums]