A 3mm wavelength imaging array for astronomical spectroscopy