added matrix_io example