dev merge

Raycasting working and added to ai