Improved matrix printing.

Also added some more this.