def vector_average(vv):
    """Calculate average from iterable of vectors."""
    c = None
    for i, v in enumerate(vv):
        c = v if c is None else tuple((i*a+b)/(i+1) for (a, b) in zip(c, v))
    return c