Documentation of max depth parameter

Changed the docstring

Few docstring changes