debugging openmp in calculation. still ongoing