set precAtK and ndcgAtK as private member. Improve documentation