Messing with raycasting code (Zach).