Creates descriptors associated with array name and
    then sets the array as a member variable

def generic_stitch(cube, arrays):
    """
    Creates descriptors associated with array name and
    then sets the array as a member variable
    """
    
    for name, ary in arrays.iteritems():
        if name not in type(cube).__dict__:
            setattr(type(cube), name, ArrayDescriptor(name))

        setattr(cube, name, ary)