[TECH] Included the Flatten method from availability into array_helpers.go <RamS>