how to make the allignment of two adjacent matrices same?