added residue similarity matrices