Implement box intersection.
Introducing Octree for speed up intersection calculation.
Merge branch 'master' into Viktor
Add speed option to test which increases resolution.
Some refactoring around Octree.