extractFromScoringMatrix function

Extract from Scoring matrix