Add interface to load matrices.

Created a class that implements this interface
to read a matrix in from a file for testing.