Yahaa
How about placing the sensor array in a straight line, something like this
* * * * * * *
^
| <- Line being followed.
If a turn 90deg or whatever, comes allong the new direction can be resolved from all of the active sensors. Some memory will be needed bu I think this can be wort a try,
If you don't get the picture from the ASCII all post a nice pic. just PM me