Adding some more mathematical functions