Multi threaded raytrace via openmp