Title: Algorithms for Automatic Alignment of Arrays