Added flux output array formatting