Updated List to handle generators and numpy arrays
Added support for assigning xranges to lists. Convertion from numpy.ndarray to List now uses numpy.ndarray.tolist.
Merge pull request #1817 from crobinsonut/P77343410-case-inputs-generators

P77343410 case inputs generators