Create Nelson-Siegel function for yield curve