More raytracing

The beginnings of more generalized raytracing.  more to come.