Is there really an advantage to implementing this in cython (rather than numpy/python)?