DEV: reindent sobol and delete some useless functions