added visualization of 4D array