Updating vec library. Fixing flake8 problems.