Proof read of RankerCosine.java

1) modify normA
2) use Ranker's runQuery(String query)
3) use _index.numDocs() instead of 659