Cython code now works