A set of Apache Hive UDFs for computing curves