added raycast3.py to experiment with new algorithm