Reading the variable vector and residual as well