reimplemented the BoundingBox, the whole program  (with the simple acceleration structure) is now twice as fast, main purpose was to get also the distance, but doubling the speed is always good in path tracing