Introduced OMPTASK_FOR and OMPTASK_END to parallelize for loops using tasks. The number of tasks created is restricted
to NTHREADS. Benchmarking shows it has the same efficiency as parallel for