Added load function

Load function loads a file into a matrix