Added adaptive nav prim. Envt repulsion added.