improvements math functions template
Merge pull request #63 from FVANCOP/math

improvements math functions template