add the source code of matrix_aligner from albin