Created scoring system for similar matrices