implemented calculation of NDCG, assuming binary relevance