Added tasks for OpenMP parallelization, removed a few unnecessary barriers - testing still required