python script to call ngspice + write to CSV