Refactored getWordMorphCost(), now has inner function morphOneWay(). Untested.