args: geomA, tolerance - Returns a simplified and valid version of a geometry, using the Douglas-Peucker algorithm.