Edits in attempt to parallelize

This code has not been tested yet. I've been having environment issues
all semester on using virtual machines.