cythonizing Vector class