Port cython eval7 code and wrapping; tests pass.