All "#pragma omp parallel for" were removed. I think functions with omp should be developed by each users for better performance.