Added Centroid analysis