first commit, cp-d Bastiens omp code in model.cpp..