Added 8-neighbor connectivity to RegionGroup.

Fixes #527