[XLS-521] Create UDF for new style curves - fixing leg frequencies