standard deviation added, divide by zero bug fixed in ndcg calculation