Faster and better raycasting (VERY WIP)