Added v1 of Octree class