adms: fix compiler errors, add verilog functions

* fix hypot
* add acosh, asinh