Bumped the version number to 0.3.1 and added a changelog entry