Fast NumPy array functions written in Cython