normalized mean distance