DOC: fix Ward's distance formula
Merge pull request #4278 from mvdoc/docwardfix

DOC: fix Ward's distance formula