Function ensureArray

ensure a value is an array or wrapped within one.