Calculating Centroids with GeoScript Groovy