Updating version number to 0.3.1 and remedying hardcoded version string