01 How does Centroid (Arithmetic Mean) work?

In this function the arithmetic centre is calculated from several coordinates in the desired output format.