n, and q is the elementary 
%      charge of an electron (coulombs). nNsVth may be a scalar or vector, 
%      but vectors must be of same length as all other input vectors.
% * *|NumPoints|* - Number of points in the desired IV curve. Must be a finite 
%      scalar value. Non-integer values will be rounded to the next highest
%      integer (ceil). If ceil(NumPoints) is < 2, no IV curves will be produced
%      (i.e. Result.V and Result.I will not be generated). The default
%      value is 0, resul