Added intersect refinement
Did some work on texture slicing the 3D texture