Merged vector.hpp into octree branch