Towards A Unified Model Of The Head Direction System