Fixing FitOrientationParametersNLOpt.c