Cythonize model.py & add the build step to docs/test