An Improved Algorithm forthe Generation ofNonparametric Curves