A distributed dense matrix abstraction