pub fn compute_centroid<'a, I>(vertices: I) -> CartesianCoordinateswhere I: Iterator<Item = &'a [f64; 3]>,