Fixed out_of_range exception on access
Fixed string creation function
Matrix now doing initial tests.