added commented 3D OpenMP code, minor corrections