Computes the centroid of the given vectors.
The vectors to average.
The vector that will receive the result.
The target vector, set to the centroid.
target
Computes the centroid of the given vectors.