Saving and loading global/distibuted arrays

You need the develop branch to use .n on A. If you don’t use this branch, just comment that assert.