ADD: Added subgrid class for adaptive and hierarchical purposes
FIX: Fixed swig interface so lists are converted to correct type when used as input.