remove dependency from numpy's oldnumeric