[PLAT-4605] [PLAT-4606] Created a yield curve util with the functions required in the Jira.