improved ray interface material checking. now nested meshes are possible which is usefull for simulation of air bubbles in glass or similar configurations.