Refactored utils into vector_tools, and some changes to force comparisons'