Added openMP compile flags, set up parallelization