I want use my algorithm to design a EM device. the algorithm is an iterative process and the current iteration depends on the output of the previous iteration , which is the parameter calculated from S-parameter from simulation result. After evaluating the algorithm returns a new set of parameters which is then to be designed and simulated for next iteration