Added OpenMP paralellization statements.