I initialized nGlobal as nGlobal...stupid. Should have been nGlobal = nRang*nAzim. Now at least it does something. Difficult to tell if it is the right thing due to issue #32.