implemented iter for data and cleaned up the code, it works really well. I tried to implement parallel using multiprocessing and it submits the jobs no problem, BUT it gets stuck at getting the output of the jobs. I don't know what the problem is. I'm now running it serially. I should test map_lsf