****************************************** Calculation of elementary math functions ******************************************