Enable Parallelization

I tested my 0.0.6_parallel branch instead of this one, but they have the same commits. Let me know if this needs any changes before it can be merged.