Numpy Array Has No Attribute Reduce Cython