Added specs for mlib.getPolygonCentroid