starting a new way to paralellize with OpenMP. Error found on algorithm for now