removed to_string from matrix; added to example instead