add tanh
add lustrec math functions
Renamed math lib into lustrec_math to avoid conflicting calls to <math.h>