Hopefully fixed error in using openMP pragmas