Use new submodule and test wrapping
Use C function to compute Deg