basic math.c file

basic math.c file