powered by
Implementation of the Douglas-Peucker algorithm for line thinning http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm
simplify_rec(points, tol = 0.01)
matrix of x and y points
tolerance