Assume lower-case letters are unaligned.
Set matrix and shift vector in AFPChain as well as AFP.