OK there are some weird things going on here.
1) it appears that walls were screwed up a little when the shpae functions were put in. Basically a wall has no shape so a division by zero error occurs.
Fixed that easily enough.
2) Another overflow happend just after when a robot looked at a wall. Apparently the wall is moving at a speed of -20,000 twips per cycle. :blink: even though it is quite obviously stationary.
Working on that one.