New function in IO called ImportMat.