Making TireModel support cython