Final changes in order to correct all the previous mistakes. The basic add is that we put a first_time static variable that checks whether or not is the first time we enter in the dc_sweep function. In the first time we enter we have to get the value that the .DC gives us and not the one in the definement