Don't ignore last element of vectors in average-vectors.

First commit in FIVE years.