Reenabled OMP features
Removed reference to depricated function.

Changed argument to std::vector and used an overloaded function
that already existed.