add some functions to HFVector
base operations of matrix
make HFIO runnable