Need Python 3 Mathematical Functions