fix the segfault bug, add data collection

fix the segfualt bug in ANNEAL1. when dumping W to RESID, the W index
starts from 0, which exceed the lower bound of RESID. fix it by +1.
also apply the +1 index convension to all the other
tensor-vector/matrix interface.

add data collection subroutine. write filenaming system.

put SWEEP into MODEL

SHOW_DMRG_STATUS now broadcast the SVD relative error

upgrade TENSOR.f90 to detect allocation status in TEN_PROD in order to
prevent segfualt when fail to allocate space.