Refactor/one vector

- Fixed duplicate symbol error when linking
- Added warning when swap/moving whilst iterating
-