python3 fix
small refactor in npyimpl.py
use functions from npy for transcendental math in ufuncs