Fixed IndexOutOfRangeException in EfficientSugiyama. Codeplex issue #5039.