added first cut of ray tracing simulation