Added more mathematical functions