Computes permutation test for Moran's I
moranTest(xr, Wr, reps)
xr
a vector of data
Wr
a weighting matrix
reps
the number of permutations