Improved MDArray views and tests.