Better explanation of the logx parameter

Also the doctests were polished.