Openmp threads

Move extruded map and arg_vec declaration at the beginning of the parallel region to solve issue #289 .

Extra:
The first commit solves issue #289 by leaving the declarations in place and then making the extruded maps and the arg_vec variables private to each thread. Unless someone has some reason (due to future functionality) to go for this variant then the previous alternative will be merged into trunk.