Added documentation, and some small corrections to the readme