Implement nDCG Top-N metric (#388)