Modified the variable of vtotwcave by adding time_min and time_max which is automatically specified with output_type (b6h and a6h, which means before 6h and after 6h, respectively)