Potential Field Navigation

nothing works, partly due to changing x-y coordinate system part way
through