removed OpenMP - switched to C++11 threads