Code that prints matrix to file

Woo