changed to primitive atanh