fix for atanh in case x==1 and y small