Simpler path tracing implementation

Use PathMeasure.getSegment() instead of a PathEffect.
This change shouldn’t make a difference in terms of performance but it
makes the code easier to follow.
Update Android Gradle plug-in to 0.14.2
Update README.md