Update typy.pyx

Added imports for math functions