Fixed issues with read_matrix related to file access
Added main.cpp and changed to using references in read_matrix