Overview: This module computes the centroid of a 1-dimensional double array
Data Handling: The input data is not modified.