Finished up octree code (and debugged and tested), starting on representations