Added a Ramer-Douglas-Peucker line/polygon simplification algorithm.