Vectorizes raycasting code

Test now does a comparison between non-vectorized and vectorized code.  Speeds up 629 raycasts by 65x.