Commented out unused function (nlpTest)