OpenMP main functions parallelised

A study is needed for knowing which functions improve and which dont