Add functions.py
Add ufuncs.py
Refactor and add some ufunc tests