vecrep.py written