Refectoring

replaced position pointers with references when accessing cubes from a
chunk or voxel space. changed cube updates to use function calls for
modularity