Unitary Transformations of Optical Beam Arrays