Reduce points reimplemented, min-distance now works OK
Merge remote-tracking branch 'origin/master'