update entropy udfs based on code review:
1. update conditional entropy's datatype.compare() method
2. entropy udf only accepts int and long