move private members precAtK, ndcgAtK into public methods. style change