plotImageArray function

Plot a 3D array as an RGB image