completely copying over numpy functions was way too much and would have
lead to a huge maintenance burden.  Instead, just overload nansum and
leave the rest untouched