DataArray::getData: Add support for expansionOrigin

Part of issue #115.