Fixed tekdecl.h
Make a few changes with the Math functions