various fixes, finished openmp implementation