Merge pull request #7 from bendem/master

Small performance improvement
Bump version to 1.3.1