Added Ray-box intersection code and implemented raycasting in texture space with start, end positions