make diffOrder protected in AbstractDifferentiableFunction
use more tidy pointer operations in NloptFunctionAdapter
add NloptMFuntionAdapter
add NloptAdapter