Style and documentation run.
Removed BVNode, created a BVTree class.