removes ray_hit_buffer and eye_paths_to_indexes arrays. moved some more computation outside of engine.cpp