Added Bipolar neuron functions and quadtree for spatial indexing.