mat2listw function

Convert a square spatial weights matrix to a weights list object