add average_nDCG and plotting python tools