preprocessing: simplifies close-together points, straightens already-straight strokes (for later)
Merge branch 'master' of https://github.com/lilisun/pentimento