Update hypermath.cpp

Parentheses on if statement in exp and expinv