Added new raycasting code to work with bounding box. Still need to add second check (Zach).