Added multiprocessing SM analysis script