Now using OpenMP to parallelize among cores