Merge pull request #3 from amccarthy/best-provider

Change algorithm for calculating the best provider