added a template parameter MATRIX_MAJOR to distributed_matrix
remove unnecessary files.
Merge remote-tracking branch 'origin/master'