Refactored BeautifulCurve to utilize scipy and numpy to solve NelsonSiegel parameters.