Fixed up the BVH generator and started to add traversal