Adding a new UDF called Ndcg to support calculating Ndcg.

A couple of different configuration options are available for calculating ndcg. You can specify positional values per range, use a standard logarithmic discounting function, or use a custom function.