Revert "fixed inv_cloglog in math/functions"

This reverts commit 5b81dca223f2b1100c18400dd7379e2144814220.
Revert "fixed inv_cloglog in agrad with test"

This reverts commit c9d0f0530daa9abbbbb8848373f4a89e91bda145.