Update TothSetup.R

Latest changes with parallel code.