Removed pragma omp taskwait
Parallelized initMultiArray function