Fixed some AI stuff (collision resolution) and some acceleration problems
with the NPCS