use tangens with b=0.01