Fixed vectors

Syntax errors preventing vectors from being registered.
Fixed

Overwrote the patch TomyLobo pushed before I made mine.
Merge pull request #325 from matteisan/master

Fixed E2 vectors