template<class G> PROMOTE2(float,typename Matrix<G>::index_type)centroid(const Matrix<G> &X)
Centroid/Barycenter of the values