Added a slab test and the code to compute proper camera ray generation