remove the  submodule and fix some compiler errors in math