Added code for calcuating the screen rays to initialize the ray buffers. Have not tested yet.