fixed error in rst
improved documentation significantly