added sw with affine gap scoring