- added various mathematical functions