Updated version and version headers to 0.3.1. Ready to release.