Added Cython interface