Creating a library of useful mathematical functions.