Add more ufuncs

Some of these ufuncs are taken from the array_object branch.  I want to keep the pull requests of ufuncs against master and then merge master into array_object when possible.