Refactored GlobalAlignmentAffine._compute_local...