Remove 'iGfun','jGvar' from the properties of NonlinearProgram. Now the class only records the sparsity pattern for nonlinear equality constraints, nonlinear inequality constraints and objective functions separately