i (and j) is the i'th centroid, starting to count from the first centroid of the first non-loop vector.
Alphabetic index