Added ray intersection tests to chunks.