finding minimum ratio of matches seems to be working
rating range function working
incorporating ratings diff