Fixed the align2 method to factor in arrays of unequal size