Merge pull request #426 from breznak/vector

Vector encoder, first merge, hope it's ok ;)
Merge branch 'master' into utility-encoder