[XLS-521] Create UDF for new style curves - fixing og-rstats