Fixed a minor hiccup in the AI.  Still doesn't work, but at least the population of the initial distances is fixed!