added profiling to nlopt