calcRank function removed, it never worked. We use instead nexr-give-udf
GenericUDFRank