Small performance improvement
Merge pull request #7 from bendem/master

Small performance improvement