Remove debug
Don;t use multiprocessing if self.processes=1
Update to work with model selection