Octree update

Implements a basic Octree, with provided methods to insert an element
and to obtain indices for objects sharing a cell with a given range.

Requires extensive (and time-consuming) testing before proper use. Seems
functional.