Solving Alignment Using Elementary Linear Algebra.
V. Kotlyar, D. Bau, I. Kodukula, K. Pingali, and P. Stodghill. Compiler Optimizations for Scalable Parallel Systems Languages, volume 1808 of Lecture Notes in Computer Science, page 385-412. Springer, (2001)