How to take average of vector values

A post was split to a new topic: Average of histograms