Moved from viewed_,locked_ to a viewtype_ enum/bitmask. Now prevents the local matrix in DistMatrtix objects from being resized outside of DistMatrix methods. Also merged data_ and lockedData_, using viewtype_ instead to distinguish between const enforcement.
Oops. Obvious error in LocalResize slipped through the commit.