fix in tanb limit caculation
Merge pull request #359 from ffrensch/master

fix in tanb limit caculation