A Bayesian Approach for the Estimation of Weight Matrices in Spatial Autoregressive Models