Add is_row_major() and is_col_major()
Merge remote-tracking branch 'origin/master'