Implemented catanh