Converted writing of matrices/vectors to MatrixMarket file to Tpetra.