Adding convenience routines to do elementwise printing for arrays.