better wall avoiding

Now the distance at which the robot cares about walls is proportional
to the robot’s speed.
Various constants tweaked, too.