Improving AlignWith implementation so that there is no effect if the DistMatrix is already aligned.