Add branches of LambertW

fixes #7105
fixes #5215
Merge pull request #8068 from skirpichev/7105-LambertW-branches

Add branches of LambertW