Add methods to vectorize many functions.
Merge pull request #10 from tshort/master

Add vectorizing methods