added motif score function to judge which motifs to use for thermo optimization