Commenting out NLopt stuff since not in use and doesn't always work properly