small changes to raytracing for tomography data and result file