Updated documentation, and revised the version number code