Generalize to Generic vectors
Merge pull request #6 from fpco/master

Generalize to Generic vectors