New programs to format matrix row output