Added ray tracing. Needs tons more work.