Fix global-to-local indexing and local-to-global indexing.
Fix global-to-local indexing and local-to-global indexing.

See gh-issue #154

enthought/distarray,RaoUmer/distarray,RaoUmer/distarray,enthought/distarray