Fixed E2 vectors

Operators were defined to return numbers, not vectors.
Fixed defining e2function parameters incorrectly
Merge pull request #326 from matteisan/master

Fixed E2 vectors