raytracing for tomography data, still needs some beautification and routine for temperature input