more refinements to rankikng algorithm
Merge pull request #82 from clovis/master

More updates to ranked relevance