mean self distance between symbols