DOC: fix typos in distance.yule

This fixes the typos mentioned in gh-4108.