Implement geometry_rescale and geometry_dodge
Douglas-Peucker line simplification
Remove incorrect comment
Code style improvements