Update to 1.3.1.
Merge pull request #3 from tan9/master

Update to 1.3.1.