Fixed bug int read_input from version upgrade
Added version number to code, ‘—-version’ argument, and moved docstring.
Merge branch 'release/0.9'