Test polygon contiguity for new Generate Spatial Weight Matrix