How to use Cython for parallel operations in Numpy arrays