added varargin functionality to iv constructor