Implementing Align{Cols,Rows}With in a general manner and further extending BlockDistMatrix.