Spatial pooler and 2D input

This may or may not answer your questions, but it is a good introduction to the complexity topology introduces.