added row/column label printing to NamedArray