simplify instance protobuf
simplify matrix_io
passed sparse_maxtrix_test
let linear_method handle the new data format
fix tiny bugs