Added parse_string function
Modified code so that Rationals are loaded into the matrix