add function to read matrix market files