accepts double type as the parameters e.g., on rescale(), zscore().
add sigmod() UDF for where hive version < 0.12.
updated to deal with recent updates (e.g., sigmod udf).