Remove global variable n_equalities
Remove global variable dim; fix warning
Remove global variable conv
Add .gitignore