updated nozzle with new secant solver