The centroid spatial coordinates are now updated and can be retrieved using getSpatialCentroid() as a double[] array