Spatial Organization of Neural Networks: A Probabilistic Modeling Approach