Adding in octree constructor and some additional fields and tests