Fill in some more mathematical functions.