test.W function

Function to compute and test eigenvectors of spatial weighting matrices