code: def centroid(coo):
      
      return list(map(np.mean, (([c[0] for c in coo]), ([c[1] for c in coo]), ([c[2] for c in coo]))))
docs: Calculates the centroid from a 3D point cloud and returns the coordinates
      :param coo: Array of coordinate arrays
      :returns : centroid coordinates as list