added header file for common math functions