Calculates spatial statistics for polygons. This includes:
processing.runalg('saga:polygonshapeindices', shapes, index)