fix problems with previous commit
optimize calculating coherence of adjacent tiles (doesn't seem to help)
Revert "optimize calculating coherence of adjacent tiles (doesn't seem to help)"

This reverts commit e046a3ddb1bc13e67eb0180d800443bef2a886d5.
delete update units and retroactive visibility pseudocode, and other notes.txt updates