Added OPENMP parallelization to extract and interpolate