Added numpy vectorization
Merge pull request #14 from ahaefner/master

Added numpy vectorization