Internal Function Calculates sequence weight for each sequence, and multiples the matrix by this weight. It returns a weighted amino acid matrix.