Added struct of matrices to load_matrix in read_write.cpp instead of outputting a matrix directly